home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Libris Britannia 4
/
science library(b).zip
/
science library(b)
/
DJGPP
/
DJLSR111.ZIP
/
libsrc
/
m
/
makefile.n
next >
Wrap
Makefile
|
1993-11-28
|
3KB
|
130 lines
# This file is generated from maketmpl by mm.c
# This is file Maketmpl
#
# Copyright (C) 1993 DJ Delorie, 24 Kirsten Ave, Rochester NH 03867-2954
#
# This file is distributed under the terms listed in the document
# "copying.dj", available from DJ Delorie at the address above.
# A copy of "copying.dj" should accompany this file; if not, a copy
# should be available from where this file was obtained. This file
# may not be distributed without a verbatim copy of "copying.dj".
#
# This file is distributed WITHOUT ANY WARRANTY; without even the implied
# warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
#
#
# Makefile for libm.a
#
ENDOFLIST =
CFLAGS = -O2
OBJS = \
$(ODIR)/acosh.o \
$(ODIR)/asinh.o \
$(ODIR)/atanh.o \
$(ODIR)/cosh.o \
$(ODIR)/frexp.o \
$(ODIR)/hypot.o \
$(ODIR)/sinh.o \
$(ODIR)/tanh.o \
$(ODIR)/acos.o \
$(ODIR)/asin.o \
$(ODIR)/atan.o \
$(ODIR)/atan2.o \
$(ODIR)/ceil.o \
$(ODIR)/cos.o \
$(ODIR)/exp.o \
$(ODIR)/fabs.o \
$(ODIR)/floor.o \
$(ODIR)/fmod.o \
$(ODIR)/log.o \
$(ODIR)/log10.o \
$(ODIR)/log2.o \
$(ODIR)/sin.o \
$(ODIR)/sqrt.o \
$(ODIR)/tan.o \
$(ENDOFLIST)
../../lib/libm$(PS).a : $(ODIR) $(OBJS)
-rm $@
ar rs $@ $(ODIR)/*.o
$(ODIR) :
md $(ODIR)
$(ODIR)/acosh.o : src/acosh.c
gcc $(PG) $(CFLAGS) -c src/acosh.c -o $(ODIR)/acosh.o
$(ODIR)/asinh.o : src/asinh.c
gcc $(PG) $(CFLAGS) -c src/asinh.c -o $(ODIR)/asinh.o
$(ODIR)/atanh.o : src/atanh.c
gcc $(PG) $(CFLAGS) -c src/atanh.c -o $(ODIR)/atanh.o
$(ODIR)/cosh.o : src/cosh.c
gcc $(PG) $(CFLAGS) -c src/cosh.c -o $(ODIR)/cosh.o
$(ODIR)/frexp.o : src/frexp.c
gcc $(PG) $(CFLAGS) -c src/frexp.c -o $(ODIR)/frexp.o
$(ODIR)/hypot.o : src/hypot.c
gcc $(PG) $(CFLAGS) -c src/hypot.c -o $(ODIR)/hypot.o
$(ODIR)/sinh.o : src/sinh.c
gcc $(PG) $(CFLAGS) -c src/sinh.c -o $(ODIR)/sinh.o
$(ODIR)/tanh.o : src/tanh.c
gcc $(PG) $(CFLAGS) -c src/tanh.c -o $(ODIR)/tanh.o
$(ODIR)/acos.o : src/acos.s
gcc $(PG) $(CFLAGS) -c src/acos.s -o $(ODIR)/acos.o
$(ODIR)/asin.o : src/asin.s
gcc $(PG) $(CFLAGS) -c src/asin.s -o $(ODIR)/asin.o
$(ODIR)/atan.o : src/atan.s
gcc $(PG) $(CFLAGS) -c src/atan.s -o $(ODIR)/atan.o
$(ODIR)/atan2.o : src/atan2.s
gcc $(PG) $(CFLAGS) -c src/atan2.s -o $(ODIR)/atan2.o
$(ODIR)/ceil.o : src/ceil.s
gcc $(PG) $(CFLAGS) -c src/ceil.s -o $(ODIR)/ceil.o
$(ODIR)/cos.o : src/cos.s
gcc $(PG) $(CFLAGS) -c src/cos.s -o $(ODIR)/cos.o
$(ODIR)/exp.o : src/exp.s
gcc $(PG) $(CFLAGS) -c src/exp.s -o $(ODIR)/exp.o
$(ODIR)/fabs.o : src/fabs.s
gcc $(PG) $(CFLAGS) -c src/fabs.s -o $(ODIR)/fabs.o
$(ODIR)/floor.o : src/floor.s
gcc $(PG) $(CFLAGS) -c src/floor.s -o $(ODIR)/floor.o
$(ODIR)/fmod.o : src/fmod.s
gcc $(PG) $(CFLAGS) -c src/fmod.s -o $(ODIR)/fmod.o
$(ODIR)/log.o : src/log.s
gcc $(PG) $(CFLAGS) -c src/log.s -o $(ODIR)/log.o
$(ODIR)/log10.o : src/log10.s
gcc $(PG) $(CFLAGS) -c src/log10.s -o $(ODIR)/log10.o
$(ODIR)/log2.o : src/log2.s
gcc $(PG) $(CFLAGS) -c src/log2.s -o $(ODIR)/log2.o
$(ODIR)/sin.o : src/sin.s
gcc $(PG) $(CFLAGS) -c src/sin.s -o $(ODIR)/sin.o
$(ODIR)/sqrt.o : src/sqrt.s
gcc $(PG) $(CFLAGS) -c src/sqrt.s -o $(ODIR)/sqrt.o
$(ODIR)/tan.o : src/tan.s
gcc $(PG) $(CFLAGS) -c src/tan.s -o $(ODIR)/tan.o